package com.example.online.music;

import com.example.online.music.model.request.SongRequest;
import com.example.online.music.service.SongListService;
import com.example.online.music.service.SongService;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.mock.web.MockMultipartFile;

@Slf4j
@SpringBootTest
public class TestSongService {

    @Autowired
    private SongService songService;

        //其他测试方法代码忽略...
    @Test
    public void testDeleteSongById(){
        log.info("测试删除歌曲id为1的歌曲：{}", songService.deleteSong(1));
    }
    
}
